servers=( 172.16.11.149 172.16.11.151 172.16.11.148 172.16.11.150 )
port=( 12345 12345 12345 12345 )
for i in 0 1 2 3; do
    echo ${servers[$i]}:${port[$n]} >& servers.txt
    for j in 0 1 2 3; do
	if [ "$i" -ne "$j" ]
	then
	  echo ${servers[$j]}:${port[$n]} >> servers.txt
	fi
    done
    ssh person1@${servers[$i]} "mkdir p1"
    scp servers.txt person1@${servers[$i]}:p1
    scp *.[ch] person1@${servers[$i]}:p1
    #ssh person1@${servers[$i]} "cp server p1/; cd p1 ; make clean; make; 8l -o server _go_.8" 
done
